﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zhang.Model.Common.Split
{
    /// <summary>
    /// 分页数据
    /// </summary>
    public class SplitData
    {
        /// <summary>
        /// 总页数
        /// </summary>
        public int PageCount { get; set; }
        /// <summary>
        /// 分页大小
        /// </summary>
        public int PageSize { get; set; }
        /// <summary>
        /// 总记录数
        /// </summary>
        public int Total { get; set; }
        /// <summary>
        /// 首页(URL)
        /// </summary>
        public string Home { get; set; }
        /// <summary>
        /// 尾页(URL)
        /// </summary>
        public string Last { get; set; }
        /// <summary>
        /// 上一页(URL)
        /// </summary>
        public string Prev { get; set; }
        /// <summary>
        /// 下一页(URL)
        /// </summary>
        public string Next { get; set; }
        /// <summary>
        /// 当前页码
        /// </summary>
        public int PageIndex { get; set; }
        /// <summary>
        // 分页链接
        /// </summary>
        public List<SplitLink> URL { get; set; }
    }
}
